package com.arpa.wms.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * WMS调拨单明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
@Data
@ApiModel(value="AllocationItemVO对象", description="WMS调拨单明细")
public class AllocationItemVO implements Serializable {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "调拨单号")
    private String allocationCode;

    @ApiModelProperty(value = "商品标识")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "基本单位数量")
    private BigDecimal allocationQuantity;

    @ApiModelProperty(value = "单位数量")
    private BigDecimal allocationUnitQuantity;

    @ApiModelProperty(value = "基本单位出库数量")
    private BigDecimal outboundQuantity;

    @ApiModelProperty(value = "商品保质期（天）")
    private BigDecimal expirationQuantity;

    @ApiModelProperty(value = "单位出库数量")
    private BigDecimal outboundUnitQuantity;

    @ApiModelProperty(value = "基本单位入库数量")
    private BigDecimal inboundQuantity;

    @ApiModelProperty(value = "单位入库数量")
    private BigDecimal inboundUnitQuantity;

    @ApiModelProperty(value = "件装量")
    private BigDecimal unitConvertQuantity;

    @ApiModelProperty(value = "调拨单位")
    private String allocationUnit;

    @ApiModelProperty(value = "调拨单位名称")
    private String allocationUnitName;

    @ApiModelProperty(value = "商品基本单位")
    private String basicUnit;

    @ApiModelProperty(value = "基本单位名称")
    private String basicUnitName;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "关联单位")
    private List<GoodsUnitConversionVO> goodsUnitConversionList = Lists.newArrayList();
}
